package com.woniuxy.commons.entity.purchaseManager;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.woniuxy.commons.entity.purchaseManager.base.PurchaseBaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author:黄志超
 * @Todo:TODO
 * @DateTime:2022/4/18 19:38
 * @Component:蜗牛
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("purchase_order")
public class PurchaseOrderEntity extends PurchaseBaseEntity {

    /** 采购单id */
    @TableId(type = IdType.AUTO)
    @ExcelProperty("序号")
    private Integer purchaseOrderId ;
    /** 分配需求单id */
    @TableField("allocation_demand_id")
    @ExcelIgnore
    private Integer allocationDemandId ;
    /** 单号 */
    @ExcelProperty("单号")
    @TableField("order_no")
    private String orderNo ;
    /** 客户 */
    @ExcelProperty("客户")
    @TableField("customer")
    private String customer ;
    /** 采购重量 */
    @ExcelProperty("采购重量")
    @TableField("pur_weight")
    private Double purWeight ;
    /** 采购数量 */
    @ExcelProperty("采购数量")
    @TableField("pur_nums")
    private Integer purNums ;
    /** 来货重量 */
    @ExcelProperty("来货重量")
    @TableField("cargo_weight")
    private Integer cargoWeight ;
    /** 来货数量 */
    @ExcelProperty("来货数量")
    @TableField("cargo_nums")
    private Integer cargoNums ;
    /** 采购人 */
    @ExcelProperty("采购人")
    @TableField("procurement")
    private String procurement ;
    /**
     * 审核人
     */
    @ExcelIgnore
    @TableField("audit")
    private String audit;
    /** 状态 */
    @ExcelProperty("状态")
    @TableField("purchase_order_status")
    private Integer purchaseOrderStatus ;
    /** 产品线 */
    @ExcelIgnore
    @TableField("product_line")
    private String productLine ;
    /** 品类 */
    @ExcelIgnore
    @TableField("category")
    private Integer category ;
    /** 仓库 */
    @ExcelIgnore
    @TableField("warehouse")
    private String warehouse ;
    /** 制单人 */
    @ExcelIgnore
    @TableField("mak_people")
    private String makPeople ;
    /** 成色 */
    @ExcelIgnore
    @TableField("condition_")
    private String condition ;

}
